import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'amfe-flexible'
import { getStoreUser } from '@/utils/store'

// 组件库注册
import './plugins'

// rem基准值计算
import 'amfe-flexible'

// icon图标
import '@/icons'

// 组件库注册
import './plugins'

// 全局组件注册
import './globalcmp'

// 组件库注册
import './plugins'

// rem基准值计算
import 'amfe-flexible'

if (getStoreUser('user') != '') {
  store.commit('user/setUser', getStoreUser('user'))
}


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
